package com.ruoyi.yuce.service.impl;

import com.ruoyi.yuce.domain.EndStart;
import com.ruoyi.yuce.domain.KwhData;
import com.ruoyi.yuce.domain.pojo.CoBuJian;
import com.ruoyi.yuce.domain.pojo.CoChangZhan;
import com.ruoyi.yuce.mapper.EndStartMapper;
import com.ruoyi.yuce.mapper.KwhDataMapper;
import com.ruoyi.yuce.service.IEndStartService;
import com.ruoyi.yuce.service.IKwhDataService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 电度表Service业务层处理
 */
@Service
public class EndStartServiceImpl implements IEndStartService
{
    @Autowired
    private EndStartMapper endStartMapper;

    /**
     * 查询故障结束和开始时间列表
     */
    @Override
    public List<EndStart> selectEndStartList(EndStart endStart) {
        return endStartMapper.selectEndStartList(endStart);
    }


    @Override
    public List<CoChangZhan> getChangZhanName(EndStart endStart) {
        return endStartMapper.getChangZhanName(endStart);
    }

    @Override
    public List<CoBuJian> getBuJian(EndStart endStart) {
        return endStartMapper.getBuJianName(endStart);
    }

}
